package com.example.stock.service;

import com.example.stock.controller.dto.DailyDetailDTO;
import com.example.stock.model.DailyDetail;
import com.example.stock.model.DailySat;
import com.example.stock.model.DrawDownSat;
import com.example.stock.model.DrawDownYearSat;

import java.util.List;
import java.util.Map;

public interface DailyDataService {

    List<DailyDetailDTO> getDailyData(String stock);

    Map<String, List<DailyDetailDTO>> getDailyDataByStocks(List<String> stocks);

    List<DailyDetail> getDailyDataByDate(String date);

    List<DailyDetail> getLastedDailyDataByDate();

    List<String> getDates();

    DailyDetailDTO getLastedDailyDetailByStock(String stock);

    Double getDailyClose(String stock, String date);

    List<DrawDownSat> getDrawDownSatData();

    Map<String, DrawDownYearSat>  getDrawDownYearSatByStock(String stock);

    List<DailySat> getDailyStaByYear(String year);
}